package com.shuyigou.pojo;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class Order {
    private String order_id;
    private int customer_id;
    private String ISBN;
    private int order_status;
    private Timestamp order_time;
    private int quantity;
    private BigDecimal total_amount;

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public int getCustomer_id() {
        return customer_id;
    }

    public void setCustomer_id(int customer_id) {
        this.customer_id = customer_id;
    }

    public String getISBN() {
        return ISBN;
    }

    public void setISBN(String ISBN) {
        this.ISBN = ISBN;
    }

    public int getOrder_status() {
        return order_status;
    }

    public void setOrder_status(int order_status) {
        this.order_status = order_status;
    }

    public Timestamp getOrder_time() {
        return order_time;
    }

    public void setOrder_time(Timestamp order_time) {
        this.order_time = order_time;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(BigDecimal total_amount) {
        this.total_amount = total_amount;
    }

    @Override
    public String toString() {
        return "Order{" +
                "order_id='" + order_id + '\'' +
                ", customer_id=" + customer_id +
                ", ISBN='" + ISBN + '\'' +
                ", order_status=" + order_status +
                ", order_time=" + order_time +
                ", quantity=" + quantity +
                ", total_amount=" + total_amount +
                '}';
    }
}
